    <% @title = 'Signup'%>
    <%= error_messages_for(:user) %>
    <%= form_tag :action => "signup" %>
      <label for="username">ID:</label>
      <%= text_field :user, :username, :class => 'textfield' %><br />
      <label for="password">密码:</label>
      <%= password_field :user, :password, :class => 'textfield' %><br />
      <label for="email">Email:</label>
      <%= text_field :user, :email, :class => 'textfield' %><br />
      <label></label>
      <%= submit_tag "注册" %>
    <%= end_form_tag %>
